/* 强力透明表格主题 - 使用更高优先级 */

/* 使用更具体的选择器提高优先级 */
body .el-table,
body .el-table__body,
body .el-table__header,
body .el-table__footer {
  background: transparent !important;
  background-color: transparent !important;
}

/* 表格所有部分的背景透明 */
body .el-table th,
body .el-table td,
body .el-table tr,
body .el-table thead,
body .el-table tbody,
body .el-table .el-table__row {
  background: transparent !important;
  background-color: transparent !important;
}

/* 表头轻微背景色 */
body .el-table th {
  background: rgba(5, 64, 128, 0.3) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 163, 255, 0.5) !important;
}

/* 表格内容行 */
body .el-table td {
  background: transparent !important;
  color: #e8f4ff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 行悬停效果 */
body .el-table tr:hover td {
  background: rgba(0, 163, 255, 0.15) !important;
}

/* 条纹行 */
body .el-table .el-table__row--striped td {
  background: rgba(5, 64, 128, 0.08) !important;
}

/* 当前行 */
body .el-table .current-row td {
  background: rgba(0, 163, 255, 0.25) !important;
}

/* 表格wrapper透明 */
body .el-table__header-wrapper,
body .el-table__body-wrapper,
body .el-table__footer-wrapper {
  background: transparent !important;
}

/* 固定列透明 */
body .el-table__fixed,
body .el-table__fixed-right,
body .el-table__fixed-left {
  background: transparent !important;
}

/* 空数据状态 */
body .el-table__empty-block {
  background: transparent !important;
}

body .el-table__empty-text {
  color: #4db8ff !important;
}


/* 全局隐藏滚动条 */
* {
    /* 隐藏Webkit内核浏览器（Chrome, Safari, Edge）的滚动条 */
    &::-webkit-scrollbar {
        display: none;
    }
    
    /* 隐藏Firefox的滚动条 */
    scrollbar-width: none;
    
    /* 隐藏IE和Edge的滚动条 */
    -ms-overflow-style: none;
}

/* 确保所有可滚动元素都隐藏滚动条 */
html, body, div, section, main, aside, article, 
.el-table__body-wrapper, .el-scrollbar__wrap,
.dv-scroll-board, .custom-scroll-board {
    &::-webkit-scrollbar {
        display: none;
    }
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 针对特定组件的滚动条隐藏 */
.scroll-container, .table-wrapper, .chart-container,
.el-table--scrollable-x .el-table__body-wrapper,
.el-table--scrollable-y .el-table__body-wrapper {
    &::-webkit-scrollbar {
        display: none;
    }
    scrollbar-width: none;
    -ms-overflow-style: none;
}
//全局隐藏表格边框
.el-table {
  &::before,
  &::after {
    display: none !important;
  }
}

